import request from '@/utils/request'

/**
 * @description 获取视频列表
 * @returns
 */
export function getVideoList(data) {
  return request({
    url: '/Video/list',
    method: 'post',
    data
  })
}

/**
 * @description 修改视频
 * @returns
 */
export function setVideo(data) {
  return request({
    url: '/Video/save',
    method: 'post',
    data
  })
}

/**
 * @description 修改视频
 * @returns
 */
export function deleteVideo(data) {
  return request({
    url: '/Video/delete',
    method: 'post',
    data
  })
}

export function craeteVideoLive(data) {
  return request({
    url: '/matchesLive/startLive',
    method: 'post',
    data
  })
}
